package ${package}.service;

import ${package}.domain.${className}DO;

import java.util.List;
import java.util.Map;

/**
 * ${comments}
 *
 * @author ${author}
 * @email ${email}
 * @date ${datetime}
 */
public interface ${className}Service {

${className}DO get(${pk.attrType} ${pk.attrname});

	List<${className}DO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(${className}DO ${classname});

    int update(${className}DO ${classname});

    int remove(${pk.attrType} ${pk.attrname});

    int batchRemove(${pk.attrType}[] ${pk.attrname}s);
    }
